package edu.ecust.design.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.ecust.design.dao.LogMapper;
import edu.ecust.design.domain.Log;
import edu.ecust.design.service.ILogService;

@Service
public class LogServiceImpl implements ILogService {
	@Autowired
	private LogMapper logMapper;

	@Override
	public void recordOperatLog(Log log) {
		if (log != null) {
			logMapper.insertSelective(log);
		}
	}
}
